package com.example.app.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class helloController {  // 类名首字母大写

    @GetMapping("/hello")
    public String hello() {
        return "Hello Spring Boot";
    }
}